package su.dao;

import su.domain.Emp;

import java.util.List;
import java.util.Map;

public interface EmpDao {

    public List<Emp> listwithdep(int pagenum, int pagesize);

    public void saveemp(Emp emp);

    public Emp findbyname(String name);

    public Emp findbyid(Integer id);

    public Integer updatebyid(Emp emp);

    public Integer delempbyid(Integer id);

    public Integer delempall(List<Integer> ids);
}
